package zhongbo.java.air.flightpath.service;

import zhongbo.java.air.common.vo.PageVo;
import zhongbo.java.air.flightpath.model.FlightPath;

public interface IFlightPathService {
    int addFlight(FlightPath flightPath);

    void deleteFlight(String id);

    int updateFlight(FlightPath flightPath);

    FlightPath selectById(String id);

    PageVo page(String icaoCode, Integer pageNumber, Integer pageSize);

    PageVo pageTime(String startTime, String endTime, Integer pageNumber, Integer pageSize);

}
